package com.huarui.store.dao;

import java.util.List;
import java.util.Map;

import org.ewaf.framework.dao.IBaseDao;
import com.huarui.store.model.Store;

public interface IStoreDao  extends IBaseDao{
	@SuppressWarnings("unchecked")
	List getStoreByCompanyId(Integer companyId);
	
	@SuppressWarnings("unchecked")
	List getStoresByConditions(Map map);
	@SuppressWarnings("unchecked")
	public Integer getByConditionsForCount(Map map);
	
	@SuppressWarnings("unchecked")
	public List<Map> getAllStoresByConditions(Map map);
	
	@SuppressWarnings("unchecked")
	public Store getByName(Map map);
}
